Skip to content

Comments

Migrate CI to maintained Rust toolchain action with stable compiler#66

Merged
dontpanic92 merged 3 commits intomasterfrom
copilot/update-ci-yaml-files
Feb 10, 2026
Merged

Migrate CI to maintained Rust toolchain action with stable compiler#66
dontpanic92 merged 3 commits intomasterfrom
copilot/update-ci-yaml-files

Conversation

Copy link
Contributor

Copilot AI commented Feb 10, 2026

Migrates Windows, Linux, and macOS CI workflows from the unmaintained action-rs/toolchain to actions-rust-lang/setup-rust-toolchain and switches from nightly to stable Rust. Disables the new action's default -D warnings injection.

Changes

  • Action migration: action-rs/toolchain@v1actions-rust-lang/setup-rust-toolchain@v1
  • Toolchain: nightlystable
  • Compiler flags: Set rustflags: '' to prevent auto-injection of -D warnings
- name: Install Rust toolchain
  uses: actions-rust-lang/setup-rust-toolchain@v1
  with:
    toolchain: stable
    rustflags: ''

The empty rustflags parameter overrides the action's default behavior of treating warnings as errors, allowing the project to manage its own warning policy.

Files modified: ci-windows.yml, ci-linux.yml, ci-macos.yml

Original prompt

Check the CI yaml files. For Windows, Linux and macOS, stable rust toolchain should work now; in yaml it still specifies nightly. Change it to stable. Also, the action action-rs/toochain is not maintained anymore; replace it with actions-rust-lang/setup-rust-toolchain


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…ust-toolchain and use stable Rust for Windows, Linux, and macOS

Co-authored-by: dontpanic92 <1056013+dontpanic92@users.noreply.github.com>
Copilot AI changed the title [WIP] Update CI yaml files for stable Rust toolchain Update CI: Use stable Rust and maintained setup-rust-toolchain action Feb 10, 2026
Copilot AI requested a review from dontpanic92 February 10, 2026 09:39
Co-authored-by: dontpanic92 <1056013+dontpanic92@users.noreply.github.com>
Copilot AI changed the title Update CI: Use stable Rust and maintained setup-rust-toolchain action Migrate CI to maintained Rust toolchain action with stable compiler Feb 10, 2026
@dontpanic92 dontpanic92 marked this pull request as ready for review February 10, 2026 10:25
@dontpanic92 dontpanic92 merged commit d982e0e into master Feb 10, 2026
3 of 5 checks passed
@dontpanic92 dontpanic92 deleted the copilot/update-ci-yaml-files branch February 11, 2026 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants